package top.shen33.yang.mapper;

import top.shen33.yang.model.entity.QrtzJobDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import top.shen33.yang.model.vo.QuartzEntity;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author oreilly
 * @since 2018-09-06
 */
public interface QrtzJobDetailsMapper extends BaseMapper<QrtzJobDetails> {


        List<QrtzJobDetails> pageInfo(Page page, @Param("queryQrtzJobDetails") QrtzJobDetails queryQrtzJobDetails);
        List<QrtzJobDetails> all(@Param("queryQrtzJobDetails") QrtzJobDetails queryQrtzJobDetails);

        List<QuartzEntity> listQuartzEntity(@Param("queryQuartz") QuartzEntity  quartz, Page page);

        Integer total(QuartzEntity quartz);

        QuartzEntity getOneQuartzEntity(Serializable sid);
}
